x86/mm: Drop is_guest_l3_slot() and simplify callers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 28 Aug 2017 14:45:07 +0000 (14:45 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 28 Aug 2017 15:46:05 +0000 (16:46 +0100)
commitf0c1fc7b4c86af9a8de585b4cb2f7792817f404d
treededccc153305fd279b3bcf1e2868d79269afc4f0
parent94dfb8bf8d0dc3f5cf19c3459dc33a1906aa1bfd
x86/mm: Drop is_guest_l3_slot() and simplify callers

With a 64bit hypervisor there are no conditional l3 slots, and this is
unlikely to change moving forwards.

No functional change (as confirmed by diffing the disassembly.  GCC obviously
already optimised this code away.)

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/mm.c
xen/include/asm-x86/x86_64/page.h